package chapterThree.arrays.arraysinheretence;

public class Mercedes extends Ferari {

	
Mercedes(int c){
		
		System.out.println("THIS whith params");
		
	}
	
	Mercedes(){
		
		System.out.println("THIS");
		
	}
	
	public static void main(String[] args){
		
	//	InterfaceA tab[]={new Mercedes(),new Ferari() };
		
		int[] splats;
		byte[] dats = new byte[4];
		//char[] letters = new char[5];
		//splats = dats; // OK, dats refers to an int array
		//splats = letters; // NOT OK, letters refers to a char array
		//letters=splats ;
		//Number 
		//Mercedes m1=new Mercedes();
		Mercedes m=new Mercedes(2);
	}
	
	

}
